package org.glut.wechat.addresslist.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 申请添加好友表
 *
 * @author harry
 * @since 2025-08-21 20:25
 */
@Data
@TableName("request")
public class Request implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发起方ID
     */
    private Integer fromUserId;

    /**
     * 接收方ID
     */
    private Integer toUserId;

    /**
     * 0-待确认，1-同意，2-拒绝
     */
    private Integer status;

    /**
     * 申请说明
     */
    private String requestMsg;

    /**
     * 申请时间
     */
    private Date createTime;
}
